package com.wzd.mphelper.mphelpertest.service;

import com.wzd.mphelper.mphelpertest.entity.User;
import com.wzd.mphelper.mphelpertest.service.impl.UserServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserService {

    @Autowired
    private UserServiceImpl userServiceImpl;

    public List<User> getUserList() {
        return userServiceImpl.list();
    }
}
